package ModelLayer;
import java.util.ArrayList;

public class ProductAttribute {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_product_attribute;
    private int id_product;
    private String reference;
    private String supplier_reference;
    private String location;
    private String ean13;
    private float wholesale_price;
    private float price;
    private float ecotax;
    private int quantity;
    private float weight;
    private boolean default_on;
    private ArrayList<Integer> attributeIDs = new ArrayList<Integer>();
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public ProductAttribute() {
    }

    public ProductAttribute(int id_product_attribute, int id_product,  String reference, String supplier_reference, String location, String ean13, float wholesale_price, float price,  float ecotax, int quantity, float weight, boolean default_on) {
        this.id_product_attribute   = id_product_attribute;
        this.id_product             = id_product;
        this.reference              = reference;
        this.supplier_reference     = supplier_reference;
        this.location               = location;
        this.ean13                  = ean13;
        this.wholesale_price        = wholesale_price;
        this.price                  = price;
        this.ecotax                 = ecotax;
        this.quantity               = quantity;
        this.weight                 = weight;
        this.default_on             = default_on;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDProductAttribute(int id_product_attribute) {
        this.id_product_attribute = id_product_attribute;
    }
    public int getIDProductAttribute() {
        return this.id_product_attribute;
    }

    //Set & Get: ID_Product
    public void setIDProduct(int id_product) {
        this.id_product = id_product;
    }
    public int getIDProduct() {
        return this.id_product;
    }

    //Set & Get: Reference
    public void setReference(String reference) {
        this.reference = reference;
    }
    public String getReference() {
        return this.reference;
    }

    //Set & Get: Supplier_Reference
    public void setSupplierReference(String supplier_reference) {
        this.supplier_reference = supplier_reference;
    }
    public String getSupplierReference() {
        return this.supplier_reference;
    }

    //Set & Get: Location
    public void setLocation(String location) {
        this.location = location;
    }
    public String getLocation() {
        return this.location;
    }

    //Set & Get: EAN13
    public void setEan13(String ean13) {
        this.ean13 = ean13;
    }
    public String getEan13() {
        return this.ean13;
    }

    //Set & Get: Wholesale_Price
    public void setWholesalePrice(float wholesale_price) {
        this.wholesale_price = wholesale_price;
    }
    public float getWholesalePrice() {
        return this.wholesale_price;
    }

    //Set & Get: Price
    public void setPrice(float price) {
        this.price = price;
    }
    public float getPrice() {
        return this.price;
    }

    //Set & Get: Ecotax
    public void setEcotax(float ecotax) {
        this.ecotax = ecotax;
    }
    public float getEcotax() {
        return this.ecotax;
    }

    //Set & Get: Quantity
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
    public int getQuantity() {
        return this.quantity;
    }

    //Set & Get: Weight
    public void setWeight(float weight) {
        this.weight = weight;
    }
    public float getWeight() {
        return this.weight;
    }

    //Set & Get: Default_On
    public void setDefaultOn(boolean default_on) {
        this.default_on = default_on;
    }
    public boolean getDefaultOn() {
        return this.default_on;
    }

    //Set & Get: AttributeIDs
    public void setAttributeIDs(ArrayList<Integer> attributeIDs) {
        this.attributeIDs = attributeIDs;
    }
    public ArrayList<Integer> getAttributeIDs() {
        return this.attributeIDs;
    }
    // </editor-fold>
}
